package com.ssh.demo.service;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssh.demo.dao.entity.MyHibernateDao;
import com.ssh.demo.dao.entity.User;

@Service
public class UserService {

	
	@Autowired
	private MyHibernateDao hibernateDao;
	
	public Serializable save(User user){
		return hibernateDao.save(user);
	}
}
